<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ValidationSummary Sample
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ValidationSummary Sample</h2>

    <%= Html.ValidationSummary() %>
    <% using (Html.BeginForm()) { %>
    Title <%= Html.TextBox("booktitle")%><br />
    Summary<br /><%= Html.TextArea("summary") %><br />
    Press <%= Html.SubmitButton() %> to see the validation messages.
    <% } %>

</asp:Content>
